//订单搜索结果
'use strict';
import React,{Component} from 'react';
import styles from '../style/styles';
import Header from '../common/header';
import {
    View,
    Text,
    TouchableOpacity,
    Image,
    ScrollView
} from 'react-native';
export default class searchOrder extends Component {
    // 构造
    constructor(props) {
        super(props);
        // 初始状态
        this.state = {
        };
    }

    getsearchOrder() {

    }

    render() {
        return (
            <View style={{flex:1}}>
                <Header navigator={this.props.navigator} initObj={{title:this.props.orderKeyword, id:2}}/>
                <ScrollView style={styles.bg_scrollview}>
                    <View style={styles.orderlist_wrap}>
                        <View style={styles.order_wrapt}>
                            <Text style={styles.ordernum}>订单号:1000000000000</Text>
                        </View>
                        <TouchableOpacity style={styles.orderlist_wrapc} onPress={()=>this.orderInfo()}>
                            <Image
                                resizeMode="stretch"
                                style={styles.orderlist_img}
                                source={require('../imgs/banner.jpg')}/>
                            <View style={styles.orderlist_right}>
                                <Text numberOfLines={2}>我是产品标题我是产品标题我是产品标题我是产品标题我是产品标题我是产品标题我是产品标题</Text>
                                <View style={styles.orderlist_bottom}>
                                    <Text style={styles.order_goods_size}>数量:x1 规格</Text>
                                    <Text style={styles.order_goods_price}>￥10.00</Text>
                                </View>
                            </View>
                        </TouchableOpacity>
                    </View>
                </ScrollView>
            </View>
        )
    }
}